<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class CheckUserOnline
{
    public function Check()
    {
        $CI =& get_instance();
        $CI->load->library('session');
        if(!$CI->session->has_userdata('user_account'))
        {
            Page_Redirect('admin/login');
        }
    }
}
?>

